<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ingredients
 *
 * @author cs321ga3a
 */
class Ingredients extends CI_Model {
    //put your code here
    function  __construct() {
        parent::__construct();
    }

    function getAll(){
        $this->db->order_by("ingredient_title","asc");
        return $this->db->get('ingredients');
    }
}
?>
